package demo;

public class Card {
    //用来定义一张牌
    public String suit;//牌的花色
    public int num;//号码

    public Card(String suit, int num) {
        this.suit = suit;
        this.num = num;
    }

    @Override
    public String toString() {
       return suit+num;
    }

}
